package com.kh.first.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kh.first.dao.ComputerApplyDao;
import com.kh.first.pojo.ComputerApplyPojo;

@Service
@Transactional
public class ComputerApplyService {
	@Autowired
	ComputerApplyDao computerApplyDao;

	public Long saveComputerApply(ComputerApplyPojo computerApplyPojo) {
		return computerApplyDao.saveComputerApply(computerApplyPojo);
	}

	public Long updateComputerApplyById(ComputerApplyPojo computerApplyPojo) {
		return computerApplyDao.updateComputerApplyById(computerApplyPojo);
	}

	public List<ComputerApplyPojo> getComputerApplyList(ComputerApplyPojo computerApplyPojo) {
		return computerApplyDao.getComputerApplyList(computerApplyPojo);
	}
}
